package com.hz.wjy.listener;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

@Component
public class LogListener {

    @JmsListener(destination = "logs")
    public void saveLog(String log) {
        System.out.println("save log: " + log);
    }

}
